package com.chen.springboot.mapper.uniapp;

import com.chen.springboot.dto.uniapp.Categories;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoriesMapper {

//    九宫图分类获取
    @Select("SELECT id, name, icon,url FROM categories")
     List<Categories> findAllCategories();

}
